package com.demo2.one1.pojo;

/**
 * @author SunChangSheng
 * @apiNote
 * @since 2021/12/23 14:46
 */
public class ActivityDO {
    /**
     * 商品id
     */
    private Integer id;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 库存id
     */
    private Integer stockId;

    private Integer num;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStockId() {
        return stockId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    @Override
    public String toString() {
        return "ActivityDO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", stockId=" + stockId +
                ", num=" + num +
                '}';
    }
}
